package com.example.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * @chenqiuran
 * 每个订单项有一个菜品，和这个菜品的数量
 * OrderItem
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderItem implements Serializable {
    private static final long serialVersionUID = -1241360949457314499L;
    private Long id;
    private Long orderId;
    private Long menuId;
    private Integer number;
    private String founder;
    private Timestamp foundTime;
    private String updater;
    private Timestamp updateTime;
}